Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

mmap

io.file.open.mmap

(R 
type
, offset i64, size i64, code Function R)
 => 
outcome R
install mmap effect an run code

note: the offset must be a multiple of the `os.mmap_offset_multiple` which usually is 4096, windows 65536?
note: offset+size must not exceed size of file

example usage:

Precondition
pre
  safety: offset % os.mmap_offset_multiple = 0
  safety: size > 0

Type Parameters

0.098dev (GIT hash b44352b4c68decbc58a097b291a1c8f3a5a05486)
last changed: 2026-07-03